package com.Logistics.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("pd_task_transport")
public class Task_transport implements Serializable {
    /**
     * Serializable version UID for object serialization.
     */
    private static final long serialVersionUID = -8314108867855677215L;

    /**
     * ID
     */
    private String id;

    /**
     * 运输行程ID
     */
    private String transport_trips_id;

    /**
     * 起始机构ID
     */
    private String start_agency_id;

    /**
     * 终点机构ID
     */
    private String end_agency_id;

    /**
     * 状态
     */
    private int status;

    /**
     * 分配状态
     */
    private int assigned_status;

    /**
     * 装载状态
     */
    private int loading_status;

    /**
     * 货车ID
     */
    private String truck_id;

    /**
     * 提货凭证货物图片
     */
    private String cargo_pick_up_picture;

    /**
     * 货物图片
     */
    private String cargo_picture;

    /**
     * 运单回单凭证图片
     */
    private String transport_certificate;

    /**
     * 交付货物照片
     */
    private String deliver_picture;

    /**
     * 送货纬度
     */
    private String delivery_latitude;

    /**
     * 送货经度
     */
    private String delivery_longitude;

    /**
     * 配送纬度
     */
    private String deliver_latitude;

    /**
     * 配送经度
     */
    private String deliver_longitude;

    /**
     * 计划出发时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date plan_departure_time;

    /**
     * 实际出发时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date actual_departure_time;

    /**
     * 计划到达时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date plan_arrival_time;

    /**
     * 实际到达时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date actual_arrival_time;

    /**
     * 计划提货时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date plan_pick_up_goods_time;

    /**
     * 实际提货时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date actual_pick_up_goods_time;

    /**
     * 计划送货时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date plan_delivery_time;

    /**
     * 实际送货时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date actual_delivery_time;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date create_time;
}